import { Language } from "../../../../../extend/language/Language";
import { CrossGuildWarStatus } from "../control/CrossGuildWarStatus";
type int = number;
//class CrossGuildWarStatusData
    
    export  class CrossGuildWarStatusData
    {
        

        public get desc(): string
        {
            var loc1=Language.getString(80589);
            var loc2=this.status;
            switch (loc2) 
            {
                case CrossGuildWarStatus.fighting:
                {
                    loc1 = Language.getString(80589);
                    break;
                }
                case CrossGuildWarStatus.win:
                {
                    loc1 = Language.getString(80590);
                    break;
                }
                case CrossGuildWarStatus.lost:
                {
                    loc1 = Language.getString(80592);
                    break;
                }
                case CrossGuildWarStatus.chooseEnemy:
                {
                    loc1 = Language.getString(80587);
                    break;
                }
                case CrossGuildWarStatus.waitingStart:
                {
                    loc1 = Language.getString(80588);
                    break;
                }
                case CrossGuildWarStatus.winLast:
                {
                    loc1 = Language.getString(80591);
                    break;
                }
            }
            return loc1;
        }

        public /* var */status: int;

        public /* var */leftSeconds: int=0;
    }
